package com.yvchen.yc_system.module.listener;

import com.yvchen.yc_system.module.listener.vo.DemoClass;
import org.springframework.context.ApplicationEvent;



/**
 * 自身监听器
 */
public class ThisClassEvent extends ApplicationEvent {

    private DemoClass demoClass;
    public ThisClassEvent(DemoClass source) {
        super(source);
        this.demoClass = source;
    }

    public DemoClass getDemoClass(){
        return demoClass;
    }
}
